﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace shenghua.Extensions
{
    public static class IntExtensions
    {
        public static bool IsSearchValid(this int? value)
        {
            if(value == 0 || value == null)
            {
                return false;
            }
            else
            {
                return true;
            }
        }
    }
}
